Using Test Web Gateway |
|
The Test Web Gateway utility enables you to test the performance of Web Gateway in executing multiple requests from the client. Using Test Web Gateway, you can:
- Test the performance of Web Gateway ('com.eibus.Web.soap.Gateway.wcp'), when subjected to multiple requests from clients.
- Test the performance of Java classes, provided the class files are included in the classpath.
Note: Users can specify com.eibus.web.gateway.queuesize property in the wcp.properties file to configure the request queue size. Using this property, you can restrict the number of requests in the request queue to 1000 (by default). Gateway will then process 1000 requests at a time. When the number of requests exceeds 1000, all incoming new requests are blocked until the requests in the queue are processed. The 'connection timeout' property is defined so that IIS disconnects all inactive requests (for example, requests whose connection is blocked) after a specific time. The default value is 30 seconds. These properties reduce the probability of a gateway crash.
To limit the request size, set thecom.eibus.web.gateway.queuesizeproperty to zero.
- On CUSP > My Applications, click (Test Web Gateway). The Test Web Gateway window appears.
- Enter the following details:
Field
Description
Gateway URL
Denotes the URL to be tested. By default, this will be the URL of the Web Gateway ('com.eibus.Web.soap.Gateway.wcp').
No of Connections
Denotes the number of concurrent HTTP connections that are possible. For sending a request, the value should be greater than or equal to one.
Calls per connection
Denotes the number of gateway calls made per connection. Value should be greater than or equal to one.
Wait time-in between calls (sec.)
Minimum
Denotes the minimum wait time per call.
Maximum
Denotes the maximum wait time per call. The value should be greater than minimum.
Asynchronous Calls
Checkbox that denotes the type of request call that is made to the gateway. By default, it is 'asynchronous'.
- If this check box is selected, all the SOAP Requests are processed one after the another without waiting for any response.
- If this check box is cleared, the Gateway waits for the response before it sends the next SOAP Request.
Report during processing
Checkbox that denotes whether reports have to be generated for each call made to the gateway. When the option is not selected, the report is generated only for the total session. By default, this option is not selected.
Request Message
Denotes the request to be sent to the gateway.
Results
Number of busy connections
Denotes the number of requests that are currently being processed by the gateway.
Number of answers
Denotes the number of responses received from the gateway.
Number of errors
Denotes the number of errors reported while processing each request.
Total processing time
Denotes the total time taken for processing each call. This will be the total processing time, when 'Report during processing' option is not selected.
Average time per call
Denotes the average time taken per HTTP request.
Response
Denotes the response received from the gateway.
- Click Start. The performance test results of Web gateway are displayed in the Results pane.
Note: If requests are received on call basis, then the Stop button can be used to stop the request after each call and view the response.